package sy.model;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Testcase entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "testcase", catalog = "sy")
public class Testcase implements java.io.Serializable {

	// Fields

	private String id;
	private String caseid;
	private String casename;
	private String description;
	private String prior;
	private String type;
	private String tags;
	private Timestamp createdatetime;
	private Timestamp modifydatetime;
	private String testsuitid;

	// Constructors

	/** default constructor */
	public Testcase() {
	}

	/** minimal constructor */
	public Testcase(String id, String caseid, String casename) {
		this.id = id;
		this.caseid = caseid;
		this.casename = casename;
	}

	/** full constructor */
	public Testcase(String id, String caseid, String casename,
			String description, String prior, String type, String tags,
			Timestamp createdatetime, Timestamp modifydatetime,
			String testsuitid) {
		this.id = id;
		this.caseid = caseid;
		this.casename = casename;
		this.description = description;
		this.prior = prior;
		this.type = type;
		this.tags = tags;
		this.createdatetime = createdatetime;
		this.modifydatetime = modifydatetime;
		this.testsuitid = testsuitid;
	}

	// Property accessors
	@Id
	@Column(name = "ID", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "CASEID", nullable = false, length = 20)
	public String getCaseid() {
		return this.caseid;
	}

	public void setCaseid(String caseid) {
		this.caseid = caseid;
	}

	@Column(name = "CASENAME", nullable = false, length = 100)
	public String getCasename() {
		return this.casename;
	}

	public void setCasename(String casename) {
		this.casename = casename;
	}

	@Column(name = "DESCRIPTION", length = 200)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "PRIOR", length = 10)
	public String getPrior() {
		return this.prior;
	}

	public void setPrior(String prior) {
		this.prior = prior;
	}

	@Column(name = "TYPE", length = 1)
	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name = "TAGS", length = 200)
	public String getTags() {
		return this.tags;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	@Column(name = "CREATEDATETIME", length = 19)
	public Timestamp getCreatedatetime() {
		return this.createdatetime;
	}

	public void setCreatedatetime(Timestamp createdatetime) {
		this.createdatetime = createdatetime;
	}

	@Column(name = "MODIFYDATETIME", length = 19)
	public Timestamp getModifydatetime() {
		return this.modifydatetime;
	}

	public void setModifydatetime(Timestamp modifydatetime) {
		this.modifydatetime = modifydatetime;
	}

	@Column(name = "TESTSUITID", length = 36)
	public String getTestsuitid() {
		return this.testsuitid;
	}

	public void setTestsuitid(String testsuitid) {
		this.testsuitid = testsuitid;
	}

}